// 图片 id
var show_img = document.getElementById("show_img");
//图片div
var text_center = document.querySelector(".text-center");
//没有图片显示的方框
var noneimg = document.querySelector(".noneimg");
if (show_img.getAttribute("src") == "") {
  text_center.style.display = "none";
  noneimg.style.display = "block";
} else if (show_img.getAttribute("src") != "") {
  text_center.style.display = "block";
  noneimg.style.display = "none";
}
